package com.bxj.wxtt.dubbo;

import com.bxj.wxtt.api.domain.AdvRelation;
import com.bxj.wxtt.api.service.IAdvRelationDubboService;
import com.bxj.wxtt.service.AdvRelationService;
import com.ifeng.matrix.common.domain.PageResult;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 由MyBatis Generator工具自动生成 2018-07-18 19:49:05
 */
@Component("advRelationDubboService")
public class AdvRelationDubboServiceImpl implements IAdvRelationDubboService {
    @Resource
    AdvRelationService advRelationService;

    public AdvRelation selectById(Integer id) {
        return advRelationService.selectById(id);
    }

    public List<AdvRelation> getAdvRelationList(AdvRelation advRelation) {
        return advRelationService.getAdvRelationList(advRelation);
    }

    public PageResult<AdvRelation> getAdvRelationPage(AdvRelation advRelation) {
        return advRelationService.getAdvRelationPage(advRelation);
    }

    public int insert(AdvRelation advRelation) {
        int ret = advRelationService.insert(advRelation);
        return ret;
    }

    public int updateAdvRelationById(AdvRelation advRelation) {
        return advRelationService.updateAdvRelationById(advRelation);
    }
}